package com.first.community.mapper;

import com.first.community.dto.QuestionQueryDTO;
import com.first.community.model.Question;

import java.util.List;

public interface QuestionExtMapper {

    int incView(Question record);
    int incComment(Question record);
    List<Question> getRelated(Question question);
    List<Question> selectBySearch(QuestionQueryDTO questionQueryDTO);
    int countBySearch(QuestionQueryDTO questionQueryDTO);
}